package com.anjufang.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Update;

import com.anjufang.entity.GroupInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
  * 分组信息 Mapper 接口
 * </p>
 *
 * @author wcy
 * @since 2021-11-04
 */
public interface GroupInfoMapper extends BaseMapper<GroupInfo> {

	List<GroupInfo> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	@Update("UPDATE group_info SET is_deleted = 1 WHERE is_deleted = 0")
	void deleteAll();

}